package com.future.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.future.domain.PsychologicalKnowledge;
import com.future.domain.vo.PsyKnowledgeVO;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface PsychologicalKnowledgeMapper extends BaseMapper<PsychologicalKnowledge> {
    PsyKnowledgeVO selectKnowledge(Long id);

    int updateLikeCount(Long id, Long oldLikeCount, Long newLikeCount);

    int updateCollectionCount(Long id, Long oldCount, Long newCount);
}
